package javase.inherit_test;

public class Person {
     int age;

    public Person(int age) {
        this.age = age;
    }

class Student extends Person{
    int score;

    public Student(int age, int score) {
        super(age);
        this.score = score;
    }
}
}

